package cn.edu.hit.ht.dao;

import cn.edu.hit.ht.pojo.IndexStructure;
import cn.edu.hit.ht.pojo.IndexStructureExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface IndexStructureMapper {
    int countByExample(IndexStructureExample example);

    int deleteByExample(IndexStructureExample example);

    int deleteByPrimaryKey(Long id);

    int insert(IndexStructure record);

    int insertSelective(IndexStructure record);

    List<IndexStructure> selectByExample(IndexStructureExample example);

    IndexStructure selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") IndexStructure record, @Param("example") IndexStructureExample example);

    int updateByExample(@Param("record") IndexStructure record, @Param("example") IndexStructureExample example);

    int updateByPrimaryKeySelective(IndexStructure record);

    int updateByPrimaryKey(IndexStructure record);
}